<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>代理介绍人管理</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  #parse('/headFiles.html')
</head>
<body>
<div class="layui-fluid layui-form" wid100>
  <input type="hidden" name="userId" value="$!{userId}"/>
  <input type="hidden" name="referrerUserId" value="$!{referrerUserId}"/>
  <div class="layui-card">
    <div class="layui-card-header">用户信息</div>
    <div class="layui-card-body">
      <div class="layui-row">
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">用户ID</label>
            <div class="layui-form-mid layui-word-aux">$!{id}</div>
          </div>
        </div>
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">用户姓名</label>
            <div class="layui-form-mid layui-word-aux">$!{name}</div>
          </div>
        </div>
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">用户手机号</label>
            <div class="layui-form-mid layui-word-aux">$!{phone}</div>
          </div>
        </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">昵称</label>
            <div class="layui-form-mid layui-word-aux">$!{nickname}</div>
          </div>
        </div>
      </div>
    </div><!-- /.layui-card-body -->
  </div><!-- /.layui-card -->
  #foreach($wallet in $walletList)
  <div class="layui-card">
    <div class="layui-card-header">钱包信息
      <div style="float: right">
        <button class="layui-btn layui-btn-sm LAY-btn-fun" data-id="$!{wallet.accountGroupId}" data-type="transferMoney">转出至提现</button>
        <button class="layui-btn layui-btn-normal layui-btn-sm LAY-btn-fun" data-id="$!{wallet.accountGroupId}" data-type="operateRecord">钱包流水</button>
      </div>
    </div>
    <div class="layui-card-body">
      <div class="layui-row">
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">支付账号组</label>
            <div class="layui-form-mid layui-word-aux">$!{wallet.accountGroupName} ($!{wallet.accountGroupId})</div>
          </div>
        </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">余额</label>
            <div class="layui-form-mid layui-word-aux">$!{wallet.moneyStr}元</div>
          </div>
        </div>
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">最后余额修改</label>
            #if($wallet.lastUpdateDate)
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($wallet.lastUpdateDate,'yyyy-MM-dd HH:mm:ss')}</div>
            #else
            <div class="layui-form-mid layui-word-aux">无修改</div>
            #end
          </div>
        </div>
        <div class="layui-col-sm4">
          	<div class="layui-form-item">
            	<label class="layui-form-label">已转出金额</label>
            	<div class="layui-form-mid layui-word-aux">$!{wallet.withdrawnMoneyStr}元</div>
          	</div>
         </div>
      </div><!-- /.layui-row -->
      <div class="layui-row">
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">钱包状态</label>
            <div class="layui-form-mid layui-word-aux">$!{wallet.stateName}</div>
          </div>
        </div>
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">最后修改</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($wallet.updateDate,'yyyy-MM-dd HH:mm:ss')}</div>
          </div>
        </div>
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">创建时间</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($wallet.createDate,'yyyy-MM-dd HH:mm:ss')}</div>
          </div>
        </div>
      </div><!-- /.layui-row -->
    </div><!-- /.layui-card-body -->
  </div><!-- /.layui-card -->
  #end
  <div class="layui-tab layui-tab-card" lay-filter="tab-info">
    <ul class="layui-tab-title">
      <li class="layui-this">介绍的代理</li>
      <li>分成配置</li>
    </ul>
    <div class="layui-tab-content" style="padding:0;">
      <div class="layui-tab-item layui-show">
        <div class="layui-card">
          <div class="layui-card-body">
            <table id="LAY-table" lay-filter="LAY-table"></table>
          </div>
        </div>
      </div>
      <div class="layui-tab-item">
      	<div class="layui-card">
          <div class="layui-card-body">
            <table id="LAY-table-profit-cfg" lay-filter="LAY-table-profit-cfg"></table>
          </div>
        </div>
      </div>
     </div>
   </div>
</div>
#parse('/footFiles.html')
<script>
layui.config({
  base: '$!{webRoot}/layuiadmin/'
  ,webRoot:'$!{webRoot}'
  ,resDomain:'$!{resDomain}'
}).extend({
  index: 'lib/index'
  ,agent_referrer_info:'agent/agent_referrer_info'
}).use(['index', 'form', 'agent_referrer_info'])
</script>
</body>
</html>